//
//  Actable.swift
//  Route
//
//  Created by 蒋晨成 on 2021/12/15.
//

import Standard

public protocol Actable: TypeName {
    static func act(values: [String: Any]) -> Bool
    static var routePattern: String { get }
    static var description: String { get }
}

public extension Actable {
    static var routePattern: String { typeName }
    static var description: String { "missing description" }
}
